package com.csht.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.csht.entity.User;



public interface UserService {
	
	public List<User> getUserList();
	
	public User findUserById(Long id);
	
	public void save(User user);

	public void edit(User user);

	public void delete(Long id);
	
	public User findByUserNameAndPassword(String username, String password);
	
	public Page<User> findALL(Pageable pageable);

}
